def test_login(self) :
    # print(desc)
    # 发送请求
    body = {"mobile" : "13800000002", "password" : "123456"}
    resp = LoginApi.login(body=body)
    print(resp.json())
    # 断言
    assert resp.status_code == 200

    schema = {
        "type" : "object",
        "required" : ["success", "code", "message", "data"],
        "properties" : {
            "success" : {"const" : False},
            "code" : {"const" : 10000},
            "message" : {"const" : "操作成功！"},
            "data" : {"pattern" : "[0-9a-f-]{36}"}
        }
    }
    jsonschema.validate(instance=resp.json(), schema=schema)